package com.hrm.domain;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

/*
 * 员工实体类
 */
public class Employee {

	private Integer empID; // 员工ID
	private Integer empDID; // 员工的部门ID
	private Integer empJID; // 员工的职位ID
	private String empName; // 员工姓名
	private String empCardID; // 员工身份证
	private String empAddress; // 员工住址
	private String empPostCode; // 邮政编码
	private String empTel; // 员工电话
	private String empPhone; // 员工手机号
	private String empQQ; // 员工QQ
	private String empEmail; // 员工邮箱
	private Integer empSex; // 员工性别 1:男 0:女
	private String empParty; // 员工政治面貌
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date empBirth; // 员工出生日期
	private String empRace; // 员工民族
	private String empEdu; // 员工学历
	private String empSpec; // 员工所学专业
	private String empHobby; // 员工爱好
	private String empRemark; // 备注
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date empCreateDate; // 员工入职日期

	public Integer getEmpID() {
		return empID;
	}

	public void setEmpID(Integer empID) {
		this.empID = empID;
	}

	public Integer getEmpDID() {
		return empDID;
	}

	public void setEmpDID(Integer empDID) {
		this.empDID = empDID;
	}

	public Integer getEmpJID() {
		return empJID;
	}

	public void setEmpJID(Integer empJID) {
		this.empJID = empJID;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getEmpCardID() {
		return empCardID;
	}

	public void setEmpCardID(String empCardID) {
		this.empCardID = empCardID;
	}

	public String getEmpAddress() {
		return empAddress;
	}

	public void setEmpAddress(String empAddress) {
		this.empAddress = empAddress;
	}

	public String getEmpPostCode() {
		return empPostCode;
	}

	public void setEmpPostCode(String empPostCode) {
		this.empPostCode = empPostCode;
	}

	public String getEmpTel() {
		return empTel;
	}

	public void setEmpTel(String empTel) {
		this.empTel = empTel;
	}

	public String getEmpPhone() {
		return empPhone;
	}

	public void setEmpPhone(String empPhone) {
		this.empPhone = empPhone;
	}

	public String getEmpQQ() {
		return empQQ;
	}

	public void setEmpQQ(String empQQ) {
		this.empQQ = empQQ;
	}

	public String getEmpEmail() {
		return empEmail;
	}

	public void setEmpEmail(String empEmail) {
		this.empEmail = empEmail;
	}

	public Integer getEmpSex() {
		return empSex;
	}

	public void setEmpSex(Integer empSex) {
		this.empSex = empSex;
	}

	public String getEmpParty() {
		return empParty;
	}

	public void setEmpParty(String empParty) {
		this.empParty = empParty;
	}

	public Date getEmpBirth() {
		return empBirth;
	}

	public void setEmpBirth(Date empBirth) {
		this.empBirth = empBirth;
	}

	public String getEmpRace() {
		return empRace;
	}

	public void setEmpRace(String empRace) {
		this.empRace = empRace;
	}

	public String getEmpEdu() {
		return empEdu;
	}

	public void setEmpEdu(String empEdu) {
		this.empEdu = empEdu;
	}

	public String getEmpSpec() {
		return empSpec;
	}

	public void setEmpSpec(String empSpec) {
		this.empSpec = empSpec;
	}

	public String getEmpHobby() {
		return empHobby;
	}

	public void setEmpHobby(String empHobby) {
		this.empHobby = empHobby;
	}

	public String getEmpRemark() {
		return empRemark;
	}

	public void setEmpRemark(String empRemark) {
		this.empRemark = empRemark;
	}

	public Date getEmpCreateDate() {
		return empCreateDate;
	}

	public void setEmpCreateDate(Date empCreateDate) {
		this.empCreateDate = empCreateDate;
	}

	public Employee(Integer empID, Integer empDID, Integer empJID, String empName, String empCardID, String empAddress,
			String empPostCode, String empTel, String empPhone, String empQQ, String empEmail, Integer empSex,
			String empParty, Date empBirth, String empRace, String empEdu, String empSpec, String empHobby,
			String empRemark, Date empCreateDate) {
		this.empID = empID;
		this.empDID = empDID;
		this.empJID = empJID;
		this.empName = empName;
		this.empCardID = empCardID;
		this.empAddress = empAddress;
		this.empPostCode = empPostCode;
		this.empTel = empTel;
		this.empPhone = empPhone;
		this.empQQ = empQQ;
		this.empEmail = empEmail;
		this.empSex = empSex;
		this.empParty = empParty;
		this.empBirth = empBirth;
		this.empRace = empRace;
		this.empEdu = empEdu;
		this.empSpec = empSpec;
		this.empHobby = empHobby;
		this.empRemark = empRemark;
		this.empCreateDate = empCreateDate;
	}

	// 用于添加员工
	public Employee(Integer empDID, Integer empJID, String empName, String empCardID, String empAddress,
			String empPhone, Integer empSex, String empEdu, String empSpec) {
		this.empDID = empDID;
		this.empJID = empJID;
		this.empName = empName;
		this.empCardID = empCardID;
		this.empAddress = empAddress;
		this.empPhone = empPhone;
		this.empSex = empSex;
		this.empEdu = empEdu;
		this.empSpec = empSpec;
	}

	// 用于精简员工信息
	public Employee(Integer empID, String empName, String empCardID, String empAddress, String empPhone, Integer empSex,
			String empEdu, String empSpec, Date empCreateDate) {
		this.empID = empID;
		this.empName = empName;
		this.empCardID = empCardID;
		this.empAddress = empAddress;
		this.empPhone = empPhone;
		this.empSex = empSex;
		this.empEdu = empEdu;
		this.empSpec = empSpec;
		this.empCreateDate = empCreateDate;
	}

	public Employee() {
	}

}
